#include "threadPool.h"
int epollAdd(int epfd,int fd)
{
    struct epoll_event events;// 什么情况就绪？就绪后怎么办？
    events.events = EPOLLIN;// 读就绪
    events.data.fd = fd;// 就绪之后放入STDIN_FILEND
    epoll_ctl(epfd,EPOLL_CTL_ADD,fd,&events);
    return 0;
}
int epollDel(int epfd,int fd)
{
    epoll_ctl(epfd,EPOLL_CTL_DEL,fd,NULL);
    return 0;
}
